package com.daohang361.imqq.tool;

import java.io.File;
import java.io.FileOutputStream;
import java.io.OutputStream;

/** 
 * @author naner E-mail:likun3344@163.com 
 * @create time：2011-4-22 下午08:55:41 
 * 读写图片
 */
public class WriteImg {
public synchronized  static void writeCheck(byte[] imgData,int qqnumber) throws Exception{
	 String filePath = "temp/";   
	 String fileName = qqnumber+"check.png";   
	 OutputStream ot = new FileOutputStream(new File(filePath+fileName));
	 ot.write(imgData);
	 ot.close();
}
}
